
<div class="header_top">
    <a class="back-link-icon" data-ajax="false" href="{$cmsurl}member"></a>
    <h1 class="page-title-bar">我的钱包</h1>
</div>
<!-- 公用头部 -->

<div class="wallet-box">
    <div class="money">
        <p class="txt">账号余额（元）</p>
        <p class="num">{Currency_Tool::symbol()}{php echo number_format($member['money']-$member['money_frozen'],2)}</p>
        <p class="tips">{if $config['cash_min']=='1'}金额超过{Currency_Tool::symbol()}{$config['cash_min_num']}可提现{/if}
            {if $config['cash_max']=='1'}
            {if $config['cash_min']=='1'},{/if}{if $cash_available_num>=0}本月还可提现{$cash_available_num}次{/if}
            {/if}
        </p>
    </div>
    {if (($member['money']-$member['money_frozen']<$config['cash_min_num'])&&$config['cash_min']==1)||$cash_available_num==0}
    {else}
    <ul class="detail">
        <li>
            <a href="{$cmsurl}member/bag/way">
                <i class="mx-ico"></i>
                <span class="txt">提现</span>
                <i class="more-ico"></i>
            </a>
        </li>
    </ul>
    {/if}
    <ul class="detail">
        <li>
            <a href="{$cmsurl}member/bag/record">
                <span class="txt">交易明细</span>
                <i class="more-ico"></i>
            </a>
        </li>
        <li>
            <a href="{$cmsurl}member/bag/withdraw_record">
                <span class="txt">提现记录</span>
                <i class="more-ico"></i>
            </a>
        </li>
    </ul>

</div>
<!-- 我的钱包 -->
<script type="text/javascript">
    $(function(){
        //头部下拉导航
        $(".st-user-menu").on("click", function() {
            $(".header-menu-bg,.st-down-bar").show();
            $("body").css("overflow", "hidden")
        });
        $(".header-menu-bg").on("click", function() {
            $(".header-menu-bg,.st-down-bar").hide();
            $("body").css("overflow", "auto");
        });
    });
</script>
